// src/componentsInfo.ts
export default [
    {
        name: "LoginView",
        path: "@/views/LoginView.vue",
        props: [],
        emits: ["login"],
        methods: ["submit()"]
    },
    {
        name: "RegisterView",
        path: "@/views/RegisterView.vue",
        props: [],
        emits: [],
        methods: ["submit()"]
    },
    {
        name: "TodoPage",
        path: "@/views/TodoPage.vue",
        props: [],
        emits: ["TodoPage"],
        methods: ["handleTodoPage()"]
    },
    {
        name: "TodoList",
        path: "@/components/TodoList.vue",
        props: ["tasks"],
        emits: ["toggle", "remove", "update"],
        methods: ["toggle(id)", "remove(id)", "edit(task)", "save(task)"]
    },
    {
        name: "TodoInput",
        path: "@/components/TodoInput.vue",
        props: [],
        emits: ["add"],
        methods: ["addTask()"]
    },
    {
        name: "TodoFilter",
        path: "@/components/TodoFilter.vue",
        props: ["modelValue", "user"],
        emits: ["update:modelValue", "logout"],
        methods: []
    }
]
